using System;
using System.Collections.Generic;

namespace Se.Framework.Web.Mvc.GenericCrud
{
    public interface IGenericCrudTableData
    {
        string Name { get; }

        string KeyFieldName { get; }

        Type EntityType { get; }

        bool CanEdit { get; }

        bool CanDelete { get; }

        bool CanInsert { get; }

        bool CanSearch { get; }
        
        IDictionary<string, IGenericCrudColumnData> Columns { get; }
    }
}